#pragma once


// CLEDArray

class CLEDArray : public CStatic
{
	DECLARE_DYNAMIC(CLEDArray)

public:
	CLEDArray();
	virtual ~CLEDArray();

public:
  void SetRowCol(int numRows, int numCols);
  int Row(void) const { return num_rows_; }
  int Col(void) const { return num_cols_; }
  void SetOk(int row, int col, BOOL ok);
  void Reset(void);
  void Copy(const CLEDArray& srcArray);

protected:
	DECLARE_MESSAGE_MAP()

public:
  virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
  virtual void PreSubclassWindow();

private:
  int num_rows_;
  int num_cols_;
  std::vector<std::vector<BOOL>> oks_;
};


